package com.vains.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author vains
 * @since 2021-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OauthRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;

    /**
     * 角色的名称
     */
    private String roleName;

    /**
     * 描述
     */
    private String roleRemark;

    /**
     * 角色创建时间
     */
    private LocalDateTime roleCreateTime;


}
